<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="/Public/Css/home/Allmsg.css">
    <title>Title</title>
</head>
<body>
    <div class="main">
        <!--<div class="main-head">用户详细信息</div>-->
        <div class="main-body">
            <div class="body-main">
                <table>
                <tr class="tr-titl"><td colspan="7">用户详细信息</td></tr>
                    <tr>
                        <th>姓名</th>
                        <th>车牌号</th>
                        <th>身份证号</th>
                        <th>联系电话</th>
                        <th>应缴费用</th>
                        <th>已交费用</th>
                        <th>未交费用</th>
                    </tr>
                    <?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                        <td><?php echo ($vo["uname"]); ?></td>
                        <td><?php echo ($vo["cnumber"]); ?></td>
                        <td><?php echo ($vo["idcard"]); ?></td>
                        <td><?php echo ($vo["uphone"]); ?></td>
                        <td><?php echo ($vo["money"]); ?></td>
                        <td><?php echo ($vo["paymoney"]); ?></td>
                        <td><?php echo ($nopaymoney); ?></td>
                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                <tr class="tr-tit2"><td colspan="7">详细记录</td></tr>
                    <tr>
                        <th>姓名</th>
                        <th>车牌号</th>
                        <th>身份证号</th>
                        <th>联系电话</th>
                        <th>应缴费用</th>
                        <th>停车日期</th>
                        <th>停车时长</th>
                    </tr>
                    <?php if(is_array($alldata)): $i = 0; $__LIST__ = $alldata;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                            <td><?php echo ($vo["uname"]); ?></td>
                            <td><?php echo ($vo["cnumber"]); ?></td>
                            <td><?php echo ($vo["idcard"]); ?></td>
                            <td><?php echo ($vo["uphone"]); ?></td>
                            <td><?php echo ($vo["money"]); ?></td>
                            <td><?php echo ($intime); ?></td>
                            <td><?php echo ($vo["ctime"]); ?></td>
                        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                </table>
            </div>
        </div>
        <div class="main-foot"><button ><a href="/index.php/Home/Allmsg/back" onclick="">返回</a></button></div>
    </div>
</body>
</html>